﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class UserControl_DateYearMonth : System.Web.UI.UserControl
{
    private string _year = "";
    private string _month = "";

    public string Year //年份
    {
        get
        {
            if (extcomb_year.SelectedItem.Value == "")
                return "";
            else
                return extcomb_year.SelectedItem.Value.Trim();
        }
        set
        {
            _year = value;
            extcomb_year.SelectedItem.Value = value.ToString();
        }
    }
    public string Month //月份
    {
        get
        {
            if (extcomb_month.SelectedItem.Value == "")
                return "";
            else
                return extcomb_month.SelectedItem.Value.Trim();
        }
        set
        {
            _month = value;
            extcomb_month.SelectedItem.Value = value.ToString();
        }
    }
    protected void Page_Load(object sender, EventArgs e)
    {

    }
}
